package com.ruoyi.project.system.item.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 员工对象 org_employee
 *
 * @author ruoyi
 * @date 2021-11-02
 */
public class OrgEmployee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一编号
     */
    private String id;

    /**
     * 所属单位
     */
    @Excel(name = "所属单位")
    private String unitId;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 工号
     */
    @Excel(name = "工号")
    private String workNo;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idCard;

    /**
     * 电子信箱
     */
    @Excel(name = "电子信箱")
    private String email;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    private String mobilePhone;

    /**
     * 固定电话
     */
    @Excel(name = "固定电话")
    private String phone;

    /**
     * 管理层
     */
    @Excel(name = "管理层")
    private Integer admin;

    /**
     * 职位
     */
    @Excel(name = "职位")
    private String position;

    /**
     * 用户编号
     */
    @Excel(name = "用户编号")
    private String code;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sortIndex;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String description;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String opBy;

    /**
     * 操作时间
     */
    @Excel(name = "操作时间")
    private Long opAt;

    /**
     * 删除标记
     */
    @Excel(name = "删除标记")
    private Integer delFlag;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态")
    private Long lockk;

    /**
     * $column.columnComment
     */
    @Excel(name = "审核状态")
    private Long islock;

    /**
     * $column.columnComment
     */
    @Excel(name = "审核状态")
    private String asName;

    /**
     * $column.columnComment
     */
    @Excel(name = "审核状态")
    private String spell;

    /**
     * $column.columnComment
     */
    @Excel(name = "审核状态")
    private String level;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setWorkNo(String workNo) {
        this.workNo = workNo;
    }

    public String getWorkNo() {
        return workNo;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    public Integer getAdmin() {
        return admin;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPosition() {
        return position;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setSortIndex(Long sortIndex) {
        this.sortIndex = sortIndex;
    }

    public Long getSortIndex() {
        return sortIndex;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setOpBy(String opBy) {
        this.opBy = opBy;
    }

    public String getOpBy() {
        return opBy;
    }

    public void setOpAt(Long opAt) {
        this.opAt = opAt;
    }

    public Long getOpAt() {
        return opAt;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setLockk(Long lockk) {
        this.lockk = lockk;
    }

    public Long getLockk() {
        return lockk;
    }

    public void setIslock(Long islock) {
        this.islock = islock;
    }

    public Long getIslock() {
        return islock;
    }

    public void setAsName(String asName) {
        this.asName = asName;
    }

    public String getAsName() {
        return asName;
    }

    public void setSpell(String spell) {
        this.spell = spell;
    }

    public String getSpell() {
        return spell;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("unitId", getUnitId())
                .append("name", getName())
                .append("workNo", getWorkNo())
                .append("idCard", getIdCard())
                .append("email", getEmail())
                .append("mobilePhone", getMobilePhone())
                .append("phone", getPhone())
                .append("admin", getAdmin())
                .append("position", getPosition())
                .append("code", getCode())
                .append("avatar", getAvatar())
                .append("sortIndex", getSortIndex())
                .append("createTime", getCreateTime())
                .append("description", getDescription())
                .append("opBy", getOpBy())
                .append("opAt", getOpAt())
                .append("delFlag", getDelFlag())
                .append("lockk", getLockk())
                .append("islock", getIslock())
                .append("asName", getAsName())
                .append("spell", getSpell())
                .append("level", getLevel())
                .toString();
    }
}